package auto.app.controller.from;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("编辑变量")
public class VariableUpdate {
    /**
     * 变量ID
     */
    @ApiModelProperty("变量ID")
    @NotNull(message = "变量ID不能为空")
    private Integer variableId;

    /**
     * 变量名
     */
    @ApiModelProperty("变量名")
    @NotNull(message = "变量名不能为空")
    private String variableName;

    /**
     * 变量值
     */
    @ApiModelProperty("变量值")
    @NotNull(message = "变量值")
    private String variableValue;


    /**
     * 备注
     */
    @ApiModelProperty("备注")
    private String remark;

}
